<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<SCRIPT src="style/js/jquery-1.3.2.min.js" type=text/javascript></SCRIPT>
<SCRIPT src="style/js/main.js" type=text/javascript></SCRIPT>
<SCRIPT src="style/js/jquery-ui-1.7.2.custom.min.js" type=text/javascript></SCRIPT>
<LINK href="style/css/jquery-ui-1.7.2.custom.min.css" type=text/css rel=stylesheet>
<link rel="stylesheet" href="style/css/common.css" type="text/css" />
</head>

<body>
<div id="man_zone">
<table  width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
<form  name="form1" method="post" action="">
  <tr>
    <td colspan="2">用户组管理</td>
  </tr>
   <tr>
    <td align="right" style="padding-right:15px;">站点:</td>
    <td>
      <%$website.domain%>
    </td>
    </tr>
  <tr>
    <td align="right" style="padding-right:15px;">用户组名称:</td>
    <td>
      <input type="text" name="gname" value="<%$group.gname%>" />
    </td>
  </tr>
  <tr>
    <td align="right" style="padding-right:15px;">&nbsp;</td>
    <td>
      <label>
        <input id="checkAll" name="" type="checkbox" value="" />所有权限</label>
    </td>
  </tr>
  <tr>
    <td align="right" style="padding-right:15px;">栏目:</td>
    <td>
    <label>
      <input name="class[]" type="checkbox" value="a" <%if $group.class && in_array('a',$group.class)%>checked="checked"<%/if%> />增加栏目</label>
      <label>
        <input type="checkbox" name="class[]" value="e" <%if $group.class && in_array('e',$group.class)%>checked="checked"<%/if%>  />修改栏目属性</label>
<label>
<input type="checkbox" name="class[]" value="d" <%if $group.class && in_array('d',$group.class)%>checked="checked"<%/if%>  />删除栏目
      </label></td>
  </tr>
  <tr>
    <td align="right" style="padding-right:15px;">生成:</td>
    <td>
      <label><input type="checkbox" name="data[]" value="i" <%if $group.class && in_array('i',$group.data)%>checked="checked"<%/if%>  />首页</label>
      <label>
        <input type="checkbox" name="data[]" value="c" <%if $group.class && in_array('c',$group.data)%>checked="checked"<%/if%>  />栏目</label>
        
  <label><input type="checkbox" name="data[]" value="p" <%if $group.class && in_array('p',$group.data)%>checked="checked"<%/if%>  />内容页
      </label></td>
  </tr>
  <tr>
    <td align="right" style="padding-right:15px;">文章:</td>
    <td>
     <label> <input type="checkbox" name="article[]" value="a" <%if $group.class && in_array('a',$group.article)%>checked="checked"<%/if%>  />增加文章</label>
      <label>
        <input type="checkbox" name="article[]" value="e" <%if $group.class && in_array('e',$group.article)%>checked="checked"<%/if%>  />修改文章</label>
       
 <label> <input type="checkbox" name="article[]" value="d" <%if $group.class && in_array('d',$group.article)%>checked="checked"<%/if%>  /> 删除文章
      </label></td>
  </tr>
  <tr>
    <td align="right" style="padding-right:15px;" valign="top">可控栏目:</td>
    <td>
        <%foreach item=val from=$columns%>
        <%assign var=classid value=$val.classid%>
        <label>
        <input type="checkbox" value="<%$val.classid%>" name="classid[]" <%if $group.classid && in_array("$classid",$group.classid)%>checked="checked"<%/if%>/><%$val.classname%>
        </label><br />
        <%/foreach%>
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="hidden" name="wid" value="<%$group.wid%>" /><input type="submit" value="提交" />
    <input type="hidden" name="gid" value="<%$group.gid%>" /></td>
  </tr></form>
</table>

</div>
</body>
</html>
